#include"EquationSolver.h"
using namespace std;
int main()
{
	//题B
	Bisection bis1(0,pi/2,0.0001,20);
	bis1.solve();

	//题C
	//Newton newton1(4.5, 20);
	//Newton newton2(7.7, 20);
	//newton1.solve();
	//newton2.solve();

	//题D
	//Secant secant1(0, pi / 2, 0.0001, 50);
	//Secant secant2(1, 1.4, 0.0001, 50);
	//Secant secant3(0, -0.5, 0.0001, 50);
	//secant1.solve();
	//secant2.solve();
	//secant3.solve();

	//题E
	//Bisection bis2(0, 0.2, 0.001, 50);
	//bis2.solve();
	//Newton newton3(0.2, 20);
	//newton3.solve();
	//Secant secant4(0, 0.2, 0.001, 50);
	//secant4.solve();

	//题F
	//Newton newton4(33/180*pi,200);
	//newton4.solve();
	//return 0;
	//Secant secant5(30*pi/180, 33*pi/180, 0.0001, 50);
	//secant5.solve();
}